package com.lphj.datainterface.service.impl;

import com.lphj.datainterface.dao.TCustomerStoreDao;
import com.lphj.datainterface.entity.TCustomerStore;
import com.lphj.datainterface.service.TCustomerStoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TCustomerStoreServiceImpl implements TCustomerStoreService {

    @Autowired
    TCustomerStoreDao tCustomerStoreDao;

    @Override
    public int addTCustomerStore(TCustomerStore tCustomerStore) {
        return tCustomerStoreDao.AddTCustomerStore(tCustomerStore);
    }

    @Override
    public List<String> getCustomerCumNO() {
        return tCustomerStoreDao.GetCustomerCumNO();
    }

    @Override
    public int delTCustomerStore() {
        return tCustomerStoreDao.DelTCustomerStore();
    }
}
